package tqq.action.state;

/**
 * 状态类
 * @author tanqq
 *
 */
public class State {
	private String state;

	public State(String state){
		this.state = state;
	}
	
	public void eat(){
		System.out.println("eat food");
	}
	public void sleep(){
		System.out.println("go to bed");
	}
	
	
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
}
